package com.example.pfe;

import android.os.Bundle;
import android.app.Activity;
import android.content.Intent;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;

public class client2 extends Activity implements OnClickListener {
	Button nouveau = null;
	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.interface_client);
		
	nouveau= (Button)findViewById(R.id.nouveau);
	nouveau.setOnClickListener(this);
      
	}
	public void onClick(View v) {
	if(v == nouveau){
			Intent monIntent = new Intent(this,Client1.class);
	  	      startActivity(monIntent);
			
	 		}}

}
